#ifndef FINISH_H
#define FINISH_H

#include "Object.h"

typedef struct Finish: public Object {
    float ambient;
    float diffuse;
    float specular;
    float roughness;
    float reflection;
    float refraction;
    float ior;
    float lightFinish;
    float bump;
    Finish() {
        ambient = 0.1f;
        diffuse = 0.6f;
        specular = 0.0f;
        roughness = 0.05f;
        reflection = 0.0f;
        refraction = 0.0f;
        ior = 1.0f;
        lightFinish = 0.0f;
        bump = 0;
    }

    void print() {
        printf("\tFinish:\n"
            "\t\tAmbient: %f\n\t\tDiffuse: %f\n\t\tSpecular: %f\n\t\t"
            "Rougness: %f\n\t\tReflection: %f\n\t\tRefraction: %f\n\t\t"
            "IOR: %f\n\t\tLight Finish: %f\n",
            ambient, diffuse, 
            specular, roughness,
            reflection, refraction,
            ior, lightFinish);
    }

    Symbol parse(ifstream &file, Symbol cur);
} MFinish;


#endif
